/* ═══════════════════════════════════════════════════════════
   Threaded By Love — style.css
   SEO / Lighthouse Optimisation Pass
═══════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────── */
:root {
  --bg:         #f6efe8;
  --surface:    #fbf7f2;
  --surface-2:  #efe7df;
  --text:       #1b1713;
  --muted:      #6f675f;
  --line:       rgba(27, 23, 19, 0.12);
  --accent:     #8a6a52;
  --accent-dark:#6d503c;
  --white:      #ffffff;
  --shadow:     0 20px 50px rgba(20, 16, 12, 0.08);
  --radius:     22px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --container:  1240px;
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  z-index: 2000;
  border-radius: 8px;
  transition: top 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 20px;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: all 0.4s var(--ease);
  padding: 24px 0;
}

.navbar.scrolled {
  background: rgba(246, 239, 232, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease;
}

.navbar.scrolled .brand,
.navbar.scrolled .nav-links a,
.navbar.scrolled .menu-toggle {
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 0.3s ease;
  padding: 8px 0;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero-media,
.cinema-strip-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.cinema-strip-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.cinema-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.26));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 160px 0 80px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 50px;
  align-items: end;
}

.hero-copy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.04em;
  max-width: 10ch;
  margin-bottom: 24px;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-card {
  justify-self: end;
  max-width: 360px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card small {
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 12px;
  font-size: 0.72rem;
}

.hero-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

/* ── Intro grid ──────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.portrait-card,
.story-image,
.about-photo {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.portrait-card img,
.story-image img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card {
  height: 420px;
  position: relative;
}

.portrait-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-text {
  padding: 10px 12px;
}

.intro-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 600;
}

.intro-text p {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 58ch;
}

.story-image {
  height: 560px;
}

/* ── Cinema strip ────────────────────────────────────────── */
.cinema-strip {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  background: #111;
}

.cinema-strip-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 900px);
  padding: 40px 0;
}

.cinema-strip-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.95;
  margin-bottom: 20px;
}

.cinema-strip-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  max-width: 760px;
  margin: 0 auto;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.testimonial-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 540px;
  background: var(--surface-2);
}

.testimonial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeUp 0.5s ease;
}

.testimonial-panel h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.15rem;
  line-height: 1;
  margin-bottom: 18px;
}

.testimonial-panel blockquote p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 22px;
}

.testimonial-name {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  margin-top: 6px;
}

.testimonial-controls {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Portfolio grid ──────────────────────────────────────── */
.portfolio-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.film-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  box-shadow: var(--shadow);
  background: #d9d0c7;
  cursor: pointer;
}

.film-card.large  { grid-column: span 7; min-height: 580px; }
.film-card.tall   { grid-column: span 5; min-height: 580px; }
.film-card.medium { grid-column: span 4; min-height: 360px; }

.film-card-link {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}

.film-card-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.film-card:hover .film-card-link img {
  transform: scale(1.05);
}

.film-view-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}

.film-card:hover .film-view-btn,
.film-card:focus-within .film-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.film-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.04));
  color: #fff;
  pointer-events: none;
}

.film-overlay div span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 10px;
}

.film-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 0.95;
  font-weight: 600;
}

/* ── Philosophy / About ──────────────────────────────────── */
.philosophy-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.philosophy-copy p,
.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.signature {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent-dark);
}

/* ── Slideshow ───────────────────────────────────────────── */
.slideshow-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  height: 620px;
  background: var(--surface-2);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo {
  height: 640px;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 46px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
}

.contact-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-points li {
  color: var(--text);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(138, 106, 82, 0.12);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

/* ── Dedicated Social Media Section Styles ───────────────── */
.social-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.social-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  /* justify-content: center; */
  gap: 16px;
  margin-top: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  transition: all 0.3s var(--ease);
}

.footer-socials a:hover {
  background-color: var(--text);
  color: var(--white);
  border-color: var(--text);
  transform: translateY(-4px);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a:hover { color: var(--text); }

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Reduced-motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .film-card:hover .film-card-link img {
    transform: none;
  }

  .slide {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MEDIA QUERIES
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-content,
  .intro-grid,
  .testimonials-wrap,
  .philosophy-grid,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    max-width: 520px;
  }

  .film-card.large,
  .film-card.tall,
  .film-card.medium {
    grid-column: span 12;
    min-height: 420px;
  }

  .slideshow-shell,
  .about-photo,
  .testimonial-visual {
    min-height: 480px;
    height: 480px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(246, 239, 232, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    min-width: 220px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text);
    padding: 10px 4px;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding: 140px 0 60px;
  }

  .section {
    padding: 82px 0;
  }

  .testimonial-panel,
  .contact-shell {
    padding: 28px;
  }

  .portfolio-grid {
    gap: 18px;
  }

  .portrait-card,
  .story-image,
  .slideshow-shell,
  .about-photo,
  .testimonial-visual {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cinema-strip {
    min-height: 62vh;
  }

  .testimonial-panel h2 {
    font-size: 1.8rem;
  }

  .film-overlay h3 {
    font-size: 1.6rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-shell {
    padding: 22px;
  }
}